package com.angel.service.ServiceImpl;

import com.angel.bean.dto.InMessageDto;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

import com.angel.bean.IpList;
import com.angel.mapper.IpListDao;
import com.angel.service.IpListService;

@Service
public class IpListServiceImpl implements IpListService {

    @Resource
    private IpListDao ipListDao;

    @Override
    public int insert(IpList ipList) {
        return ipListDao.insert(ipList);
    }

    @Override
    public int insertSelective(IpList ipList) {
        return ipListDao.insertSelective(ipList);
    }

    @Override
    public int insertList(List<IpList> ipLists) {
        return ipListDao.insertList(ipLists);
    }

    @Override
    public int update(IpList ipList) {
        return ipListDao.update(ipList);
    }

    @Override
    public List<IpList> getAll() {
        return ipListDao.getAll();
    }
}
